<!--
 * @Author: fisher
 * @Date: 2023-01-29 22:37:39
 * @LastEditTime: 2023-02-06 16:10:36
 * @LastEditors: your name
 * @Description: 
 * @FilePath: /vite-vue-ts-pc/src/App.vue
 * 可以输入预定的版权声明、个性签名、空行等
-->
<template>
  <n-config-provider :theme-overrides="themeOverrides">
    <layout>
      <!-- <template #left> 自定义 </template> -->
      <template #content>
        <router-view></router-view>
      </template>
    </layout>
  </n-config-provider>
</template>

<script setup lang="ts">
import Layout from '@/components/layout'
import { GlobalThemeOverrides } from 'naive-ui'
// import { useI18n } from 'vue-i18n'
// import { zhCN, dateZhCN } from 'naive-ui'
// const { locale } = useI18n()
// const LOCALE_MAP = {
//   zh: zhCN
// }
const themeOverrides: GlobalThemeOverrides = {
  common: {
    primaryColor: '#644DFF',
    primaryColorHover: '#644DFFD4',
    primaryColorPressed: '#3607F5'
  }
}
</script>
